Skip to main content

DescribeFileSystems

Description

call the DescribeFileSystems interface to query file system information.

Request Method

POST

Request Path

/apsara/route/NAS/DescribeFileSystems

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
VpcIdBODYstringNovpc-bp1sevsgtqvk5gxbl****proprietary network ID. must select the same VPC network as the cloud server ECS to be mounted.
PageSizeBODYintegerNo1the number of file systems contained in each page during paging query. value range: 1~100 default value: 10
PageNumberBODYintegerNo1the page number of the file system list. starting value (default):1
regionIdBODYstringYesNo sample value for this parameter.region id
FileSystemTypeBODYstringNostandardfile system type. Value: standard: General NAS
FileSystemIdBODYstringNo109c04****file system ID.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
DescriptionstringThis can be the description of the created file system.description information of the file system.
PageSizeinteger1the number of file systems contained in each page.
VswIdstringvsw-bp1omfzsszekkvaxn****switch ID.
Sizelong107374182400storage package capacity.
AccessGroupNamestringtest-001the name of the permission group used by the mount point.
SearchBasestringdc=exampleLDAP search starting point.
MountTargetNo sample value for this parameter.No description for this parameter.
URIstringldap://ldap.example.exampleLDAP service address.
MeteredSizelong1611661312file system usage. non-real-time usage, which is the maximum usage in the last hour, in Byte.
PageNumberinteger1the paging page number of the file system list.
NetworkTypestringvpcnetwork type. Includes: vpc: vpc classic: Classic Network
Packagesarray of packageNo sample value for this parameter.storage package information collection.
FileSystemNo sample value for this parameter.No description for this parameter.
Bandwidthlong150the bandwidth of the file system. unit: MB/s. General NAS does not have this field.
ExpiredTimestring2020-01-05T16:00:00Zstorage package expiration time.
PackageTypestringhybridstorage package type.
FileSystemIdstring109c04****file system ID.
VolumeSizelong1000general NAS capacity. Includes: Capacity type: 0~10 PB Performance type: 0~1 PB
FileSystemsarray of filesystemNo sample value for this parameter.file system description information set.
StatusstringPendingfile system status. Extreme NAS returns this field, including: Pending: the file system is currently processing tasks. Running: the current file system is available, and subsequent operations (for example, creating mount points, etc.) can only be performed when the status is Running. Stopped: the current file system is not available. Extending: the file system is currently being expanded. Stopping: the current file system is down. Deleting: the current file system is being deleted.
LdapstructNo sample value for this parameter.LDAP configuration. only the CPFS file system returns this parameter.
StorageTypestringPerformancestorage type. Includes: general purpose NAS:Capacity (capacity type), Performance (performance type) Extreme NAS:standard (standard), advance (advanced)
RequestIdstring035B3A3A-E514-4B41-B906-5D906CFB****request ID.
ZoneIdstringcn-hangzhou-bthe available area where the file system is located.
CreateTimestring2017-05-27T15:43:06CSTfile system creation time.
MeteredIASizelong1000low frequency media storage.
SupportedFeatureslistLifecyclefunctions supported by the file system. Includes: Lifecycle: lifecycle management. Quota: quota management.
MountTargetsarray of mounttargetNo sample value for this parameter.mount point information set.
StartTimestring2019-12-05T01:40:56Zstorage package start time.
QuotaSizelong100file system capacity.
TotalCountinteger1the total number of file systems.
EncryptTypeinteger1encryption type. Includes: 0: No encryption 1: Encryption
VpcIdstringvpc-bp1sevsgtqvk5gxbl****proprietary network ID.
MountTargetDomainstring109c042666-w****.cn-hangzhou.nas.aliyuncs.commount point domain name.
ChargeTypestringPayAsYouGobilling type. Includes: Subscription: package year and month PayAsYouGo: Pay-as-you-go Package: bound storage package
ProtocolTypestringNFSfile system protocol type. Includes: NFS:NFS file protocol SMB:SMB file protocol
FileSystemTypestringallfile system type.
PackageIdstringnaspackage-0be9c4b624-37****storage package ID.
PackageNo sample value for this parameter.No description for this parameter.
RegionIdstringcn-hangzhouregion ID.
BindDNstringcn=alibaba,dc=comBind the specified entry of LDAP.

Example

Successful Response example

{
"Description":"This can be the description of the created file system.",
"PageSize":"1",
"VswId":"vsw-bp1omfzsszekkvaxn****",
"Size":"107374182400",
"AccessGroupName":"test-001",
"SearchBase":"dc=example",
"MountTarget":"",
"URI":"ldap://ldap.example.example",
"MeteredSize":"1611661312",
"PageNumber":"1",
"NetworkType":"vpc",
"Packages":"",
"FileSystem":"",
"Bandwidth":"150",
"ExpiredTime":"2020-01-05T16:00:00Z",
"PackageType":"hybrid",
"FileSystemId":"109c04****",
"VolumeSize":"1000",
"FileSystems":"",
"Status":"Pending",
"Ldap":"",
"StorageType":"Performance",
"RequestId":"035B3A3A-E514-4B41-B906-5D906CFB****",
"ZoneId":"cn-hangzhou-b",
"CreateTime":"2017-05-27T15:43:06CST",
"MeteredIASize":"1000",
"SupportedFeatures":"Lifecycle",
"MountTargets":"",
"StartTime":"2019-12-05T01:40:56Z",
"QuotaSize":"100",
"TotalCount":"1",
"EncryptType":"1",
"VpcId":"vpc-bp1sevsgtqvk5gxbl****",
"MountTargetDomain":"109c042666-w****.cn-hangzhou.nas.aliyuncs.com",
"ChargeType":"PayAsYouGo",
"ProtocolType":"NFS",
"FileSystemType":"all",
"PackageId":"naspackage-0be9c4b624-37****",
"Package":"",
"RegionId":"cn-hangzhou",
"BindDN":"cn=alibaba,
dc=com"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}